<%@ page import="com.mastercard.labs.TransactionCategory" %>



<div class="fieldcontain ${hasErrors(bean: transactionCategoryInstance, field: 'category', 'error')} required">
	<label for="category">
		<g:message code="transactionCategory.category.label" default="Category" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="category" name="category.id" from="${com.mastercard.labs.Category.list()}" optionKey="id" required="" value="${transactionCategoryInstance?.category?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: transactionCategoryInstance, field: 'transaction', 'error')} required">
	<label for="transaction">
		<g:message code="transactionCategory.transaction.label" default="Transaction" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="transaction" name="transaction.id" from="${com.mastercard.labs.Transaction.list()}" optionKey="id" required="" value="${transactionCategoryInstance?.transaction?.id}" class="many-to-one"/>
</div>

